#ifndef __SOC_IWDG_H__
#define __SOC_IWDG_H__

#include "iperipheral.h"
#include "soc/soc_comm_def.h"
#include "interface/if_soc_watchdog.h"

class SOF_IWDG : IF_SOC_Watchdog 
{
public:
    explicit SOF_IWDG(void *handle = nullptr);
    virtual ~SOF_IWDG();

public:
    void SetPeriod(int ms);
    void Start();
    void Stop();
    void Feed();

private:
    int m_period = 0;
};

#endif // __SOC_IWDG_H__
